@CHARSET "UTF-8";
/* 整体页面样式 */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    position: relative;
    margin: 0; /* 移除默认边距 */
}

/* 登录容器样式 */
.login-container {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 360px;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(240, 240, 240, 0.5) 100%);
}

/* 登录标题样式 */
.login-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
}

/* 表单组样式 */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.3rem;
    box-sizing: border-box; /* 确保内边距不影响宽度 */
}

.form-group input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); /* 添加焦点状态阴影 */
}

/* 按钮样式 */
.btn {
    display: block;
    width: 100%;
    padding: 0.7rem 0;
    border: none;
    border-radius: 0.3rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease; /* 添加过渡效果 */
}

.btn-login {
    background-color: #007BFF;
    color: #fff;
}

.btn-login:hover {
    background-color: #0056b3;
}

.btn-logout {
    background-color: #ccc;
    color: #333;
    margin-top: 1rem;
}

.btn-logout:hover {
    background-color: #b3b3b3;
}
/* 背景图片样式 */
body {
    background-image: url('../image/胧月.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}